#ifndef SQUAZIP_H
#define SQUAZIP_H

#include <QObject>

class SQuaZip : public QObject
{
    Q_OBJECT
public:
    explicit SQuaZip(QObject *parent = 0);

    void saveAsFile(const QString &path, const QString &zipfile);
    void loadFromFile(const QString &path, const QString &zipfile);
private:
    bool zipDir(const QString &path, const QString &zipfile);
    bool unzipDir(const QString &zipfile, const QString &path);
};

#endif // SQUAZIP_H
